package com.fengniu.ejb.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "Site2SiteTable", schema = "FENGNIU", uniqueConstraints = {})
public class Site2Site extends GeneRelation implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3404401090707056748L;

	@ManyToOne
	Site site;

	@ManyToOne
	Site site2;

	public Site getSite() {
		return site;
	}

	public void setSite(Site site) {
		this.site = site;
	}

	public Site getSite2() {
		return site2;
	}

	public void setSite2(Site siteTo) {
		this.site2 = siteTo;
	}

}
